how to split data using mysql [closed]

Posted by user75238 on Programmers See other posts from Programmers or by user75238
Published on 2012-12-16T20:38:30Z Indexed on 2012/12/16 23:19 UTC
Read the original article Hit count: 118

Filed under:

I want to display images on left side and right side on my website. For example in this code I have 8 images and I want to split them 4 on the left side and 4 on the right side. In between them I want to put text.

How can I do this?

$display_image2=mysql_query("select id_topic,topic_title,image2 from topics where image2 not like '' order by id_topic desc limit 8")or die (mysql_error());

This is an image clarify what I want to do: http://oi50.tinypic.com/wsok1t.jpg

© Programmers or respective owner

Related posts about php